lcDrwAddImage3 Home

Adds a new raster image into a drawing. The image will copy information from DIB in a memory.

 HANDLE lcDrwAddImage3 (
   HANDLE hDrw,
   LPCWSTR szName,
   HANDLE hMem
 );

Parameters
hDrw
  Handle to a drawing object.
szName
  Image name. Must be different from exist images.
hMem
  Pointer to a memory buffer, contained DIB data.

Return Value

  Handle to a new raster image.
If the function fails, the return value is NULL.

See Also

  Code sample,   Image reference,   lcBlockRasterizeMem